<%@ page language="java" contentType="text/html; charset=utf-8" import="java.util.*,com.zh.tea.entity.*"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>新闻详情</title>
<link rel="stylesheet" type="text/css" href="css/News/body.css" />
<link rel="stylesheet" type="text/css" href="css/News/newsCentre.css" />
<link rel="stylesheet" type="text/css" href="css/News/newsDetail.css" />
</head>
<body>

	<div id="header" class="top hd_img" style="background-image: url('images/News/newsdetailbanner.jpg');">
		<div class="top_con clearfix">
			<div class="logo fl"></div>
			<div class="nav fl">
				<div class="nav-im fl"></div>
				<ul class="fl">
					<li><a href="#">茶坊首页</a></li>
					<li><a href="#">品德文化</a></li>
					<li><a href="#">茶品展示</a></li>
					<li><a href="#">新闻中心</a></li>
					<li><a href="#">营销服务</a></li>
					<li><a href="#">招商联盟</a></li>
					<li><a href="#">联系我们</a></li>
					<li><a href="#">茶具商店</a></li>
				</ul>
			</div>
			            <div class="login fr">
                <c:if test="${ !empty (User)}">
                	<p class="p2">欢迎${User.passname }!</p>
                </c:if>
                <c:if test="${empty User }">
                <img src="images/login.png" alt=""/>
                <p class="p1" ><a id="Login_start_" href="<%=request.getContextPath()%>/login1.jsp">登录</a>·<a id="Regist_start_" href="<%=request.getContextPath()%>/login2.jsp" >注册</a></p>
                <p class="p2">中/En</p>
                </c:if>
            </div>
        </div>
		<div id="page_title">
			<h1>
				新闻中心
				</h4>
				<h1>News Center</h1>
		</div>
		<div id="little_navi">
			<div class="navi">
				<p id="p3">
					当前位置><a href="#">茶坊首页</a>><a href="#">新闻中心</a>
				</p>
				<p id="p4">
					<a href="#">企业资讯</a><a href="#">茶艺动态</a><a href="#">企业事件</a><a
						href="#">最新活动</a><a href="#">公告公示</a>
				</p>

			</div>

		</div>

	</div>
	<div id="main">
		<div id="News_div">
			<center>
				<hr id="main_hr" width="65%" size=3>				
			</center>
			<h1 align="center">${news.getTitle() }</h1>
			<%
				String address1 = ((News)session.getAttribute("news")).getPic1();
				String s1 = address1.substring(address1.indexOf("images"));
				String address2 = ((News)session.getAttribute("news")).getPic2();
				String s2 = address2.substring(address1.indexOf("images"));
				String address3 = ((News)session.getAttribute("news")).getPic3();
				String s3 = address3.substring(address1.indexOf("images"));
			%>
			<img alt="" src="<%=s1%>"/>
			<h2>${news.getPage1() }</h2>
			<img alt="" src="<%=s2%>"/>
			<h2>${news.getPage2() }</h2>
			<img alt="" src="<%=s3%>"/>
			<h2>${news.getPage3() }</h2>
			<p>${news.getAuthor() }</p>
		</div>
	</div>
	<div id="footer">

		<div id="footer1">
			<img src="images/News/finallogo.png">
		</div>
		<div id="footer2">
			<table id="table1">
				<tr>
					<td></td>
					<td>咨询热线：</td>
				</tr>
				<tr>
					<td></td>
					<td>0371-6645209</td>
				</tr>
				<tr style="height: 15px">
					<td></td>
					<td></td>
				</tr>
				<tr>
					<td></td>
					<td>地址：</td>
				</tr>
				<tr>
					<td></td>
					<td>河南省郑州市中原区梧桐街道A区</td>
				</tr>
				<img src="images/News/bottomqq.png">
			</table>
		</div>
		<div id="footer3">
			<img src="images/News/erweima.jpg">
			<p>
				<b>关注公司官方账号</b>
			</p>
		</div>
		<div id="footer4">
			<table id="table2">
				<tr class="tr">
					<td><b>品牌文化</b></td>
					<td><b>茶品展示</b></td>
					<td><b>营销服务</b></td>
					<td><b>友情链接</b></td>
					<td><b>茶具商店</b></td>
				</tr>
				<tr>
					<td><b>品牌介绍</b></td>
					<td><b>普洱生茶</b></td>
					<td><b>店面查询</b></td>
					<td><b>小罐茶</b></td>
					<td><b>陈檀香木茶具</b></td>
				</tr>
				<tr>
					<td><b>茶之文化</b></td>
					<td><b>普洱熟茶</b></td>
					<td><b>官方旗舰店</b></td>
					<td><b>乌龙蜜茶</b></td>
					<td><b>皇家器具</b></td>
				</tr>
				<tr>
					<td><b>茶之文化</b></td>
					<td><b>西湖龙井</b></td>
					<td></td>
					<td><b>云和数据</b></td>
					<td><b>双虎家私</b></td>
				</tr>
				<tr>
					<td><b>茶之健康</b></td>
					<td><b>大红袍</b></td>
					<td></td>
					<td><b>郑州航院</b></td>
					<td><b>魅红茶杯</b></td>
				</tr>
				<tr>
					<td><b>茶之品享</b></td>
					<td><b>茉莉花茶</b></td>
					<td></td>
					<td></td>
					<td></td>
				</tr>
			</table>
		</div>
		<div id="last">CopyRight 2012 云茗茶坊 All Right Reserved
			豫ICP备12004376号 技术支持 ：云和数据</div>

	</div>


</body>
</html>